package com.oocl.consumer.action;

import com.oocl.consumer.consumer.BookConsumer;

public class BookConsumeAction{
	private BookConsumer consumer = null;
	
	public BookConsumeAction(String queueName, int limit) {
		consumer = new BookConsumer(queueName, false, limit);
	}

	public static void main(String[] args) {
		int limit = 5;
		new BookConsumeAction("BookQueue",limit);
		System.out.println("Consumer thread running... limit:"+limit);
	}
}
